<include file="Public:header" />
<div id="zoneHeader">
    <h2>编辑网站</h2>
    <ul>
        <li><a href="?c={$Think.const.CONTROLLER_NAME}" class="btn">返回</a></li>
    </ul>
</div><!--/#zoneHeader-->
<div id="zoneBody" class="noFooter">
    <div id="zoneBodyContent">
        <form action="?c={$Think.const.CONTROLLER_NAME}&a=doSave" id="formEdit">
            <input type="hidden" name="id">
            <dl class="dl2Col">
                <dt>UID：</dt>
                <dd><span name="uid"></span>&nbsp;</dd>
                <dt>域名：</dt>
                <dd><input type="text" name="domain"></dd>
                <dt>状态：</dt>
                <dd>
                <volist name=":C('SITE_STATUS')" id="vo">
                    <label><input type="radio" name="status" value="{$key}"><span>{$vo}</span></label>
                </volist>
                </dd>
                <dt>描述：</dt>
                <dd> <textarea name="comment" cols="30" rows="10"></textarea> </dd>
            </dl>
            <ul class="btnList">
                <li><button type="submit" class="btnFormEditSave">保存</button></li>
                <li><a href="?c={$Think.const.CONTROLLER_NAME}" class="btn">返回</a></li>
            </ul>
        </form>
    </div><!--/#zoneBodyContent-->
</div><!--/#zoneBody-->
<script>
$(function(){
    var record = {};

    <notempty name="record">
    record = {$record|json_encode};
    </notempty>

    (new Form($('#formEdit'), new Model(record))).fill();
})
</script>
<include file="Public:otherTpl" />
<include file="Public:footer" />
